import Vue from 'vue';
import Vuex from 'vuex';
import createPersistedState from 'vuex-persistedstate';
//
// import app from './modules/app';
// import user from './modules/user';

import modules from './modules';

Vue.use(Vuex);

const store = new Vuex.Store({
  state: {
  },
  mutations: {
  },
  actions: {},
  modules,
  strict: process.env.NODE_ENV === 'production',
  // plugins: [createPersistedState()]
});

export default store;
